#! /bin/lua

function testage(age)
    if age <= 18 then
        return "adolescent"
    elseif age > 18 and age <= 45 then
        return "youth"
    elseif age > 45 and age <= 60 then
        return "middle-aged person"
    else
        return "elder"
    end
end


res=testage(40)
print(res)

function testif(num)
    if num > 0 then
        print("positive")
    elseif num == 0 then
        print("zero")
    else
        print('negitive')
    end
end

testif(20)
testif(0)
testif(-20)

